@import './adapter.less';
@import './YSY_common.less';
@commonWidth:32;
@commonColor:#ff841d;

html,body{
    width:100%;
    height:100%;
    max-width: 640px;
    min-width:320px;
    // background-color: aquamarine;
}
.layout{
    height:100%;
    width:100%;  
    #header{
        background-color: @commonColor;
        position: static;
        button{
            color:#fff;
        }
    }
    .ysy_discount_content{
        // height:100%;
        // padding-top:45rem/@commonWidth;
        // overflow:scroll;
        .discount_list{
            ul{
                height:100%;
                display: flex;
                flex-wrap: wrap;
                li{
                    border-left:1px solid #ccc;
                    border-bottom: 1px solid #ccc;
                    width:50%;
                    background-color: #fff;
                    a{
                        width:100%;
                        display: flex;
                        flex-direction: column;
                        .discount_img{
                            width:100%;
                            text-align: center;
                            margin:20rem/@commonWidth;
                            img{
                                width:50%;
                            }
                        }
                        div:nth-last-of-type(-n+3){
                       margin-left:25rem/@commonWidth;

                        }
                        .discount_title{
                            font-size:22rem/@commonWidth;
                        }
                        .discount_price{
                            font-size:20rem/@commonWidth;
                            padding:6rem/@commonWidth 0;
                            color:@commonColor;
                            font-weight: 600;

                        }
                        .discount_time{
                            font-size:18rem/@commonWidth;
                            color:#666;
                            margin-bottom: 6rem/@commonWidth;
                        }
                    }
                }
              
            }
        }
    }
}